//
//  FxWebKitView.h
//  MarketManager
//
//  Created by zuqiu on 17/3/13.
//  Copyright © 2017年 finedo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
@interface FxWebKitView : UIViewController<WKUIDelegate,WKNavigationDelegate,WKScriptMessageHandler>
@property (nonatomic, assign) CGFloat webViewContentHeight;

@property (nonatomic ,copy) NSString *homeToken;
@property (nonatomic ,copy) NSString *reLastUrl;

/**
 *  进度条
 */
@property (nonatomic, assign) NSUInteger loadCount;
@property (nonatomic, strong) UIProgressView *progressView;

@property (nonatomic, strong) WKWebView    *web;
@property (nonatomic, strong) WKUserContentController* userContentController;
- (void)killFunc:(NSString *)funStr;
- (void)initWKWebView:(NSString *)url;

- (WKWebViewConfiguration *)webConfig;
- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message;

- (void)callPhoneMethod:(NSString *)phone;
- (void)webProsgress;
@end
